package com.sofa.shark.common.log.apm.logfactory;

/**
 * <p>description : Apm, APM 工具类
 * @author : tonypy
 * @version : 1.0.0
 * @date : 2020.3.31
 * */
public class Apm {
    public static ApmMetrics begin(String className,String methodName) {
        ApmMetrics metrics = new ApmMetrics();
        metrics.setBeginTime(System.currentTimeMillis());
        metrics.setMethodName(methodName);
        metrics.setClassName(className);
        return metrics;
    }

}
